package com.glory.wxelectricitypda.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.glory.wxelectricitypda.R;
import com.glory.wxelectricitypda.bean.EqpLockInfoEntity;
import com.glory.wxelectricitypda.bean.LotBean;

import java.util.List;


public class EqpUnlockAdapter extends BaseQuickAdapter<EqpLockInfoEntity.LockInfoListDTO, BaseViewHolder> {
    public EqpUnlockAdapter(@Nullable List<EqpLockInfoEntity.LockInfoListDTO> data) {
        super(R.layout.adapter_eqpu_nlock, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, EqpLockInfoEntity.LockInfoListDTO item) {
        helper.setText(R.id.tvLockCause,item.getLockCause());
        helper.setText(R.id.tvUnlockGroup,item.getUnlockGroup());
    }
}
